# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MTD_UBI) += ubi.o

ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o
ubi-y += misc.o debug.o
ubi-$(CONFIG_MTD_UBI_FASTMAP) += fastmap.o
ubi-$(CONFIG_MTD_UBI_BLOCK) += block.o
ubi-$(CONFIG_RTOS_UBI_BITFLIP_CHECK) += rtos_bitflip_check.o
obj-$(CONFIG_MTD_UBI_GLUEBI) += gluebi.o
